package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcYingShiChannel;
import com.csun.cmny.provider.model.dto.yingshi.YingShiChannelQueryDto;
import com.csun.cmny.provider.model.vo.yingshi.YingShiChannelVo;
import com.csun.cmny.provider.model.vo.yingshi.YingShiMonitorVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcYingShiChannelMapper extends Mapper<DmcYingShiChannel> {

    /**
     * 查询萤石摄像头通道列表 - 分页
     *
     * @param yingShiChannelQueryDto    the ying shi channel query dto
     *
     * @return  the ying shi channel vo list.
     */
    List<YingShiChannelVo> queryListWithPage(YingShiChannelQueryDto yingShiChannelQueryDto);

    /**
     * 根据通道id获取通道信息
     *
     * @param channelId the channel id
     *
     * @return  the ying shi monitor vo
     */
    YingShiMonitorVo selectByChannelId(Long channelId);
    //查询萤石通道号
    List<DmcYingShiChannel> selectChannelById(Long id);
}